﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TarreOA.TarreOABLL;
using TarreOA.TarreOAModels;

public partial class admin_ShowLinkman : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Linkman linkman = LinkmanManager.FindByLinkmanId(Convert.ToInt32(Request.QueryString["lid"]));
            lblClient.Text = linkman.Client.ClientName;
            lblLinkmanName.Text = linkman.LinkmanName;
            lblSex.Text = linkman.Sex == 1 ? "男" : "女";
            lblJob.Text = linkman.Job;
            lblLike.Text = linkman.Like;
            lblFamilyAddress.Text = linkman.FamilyAddress;
            lblFamilyPostalcode.Text = linkman.FamilyPostalcode;
            lblJobTelephone.Text = linkman.JobTelephone;
            lblHomeTelephone.Text = linkman.HomeTelephone;
            lblHandsetNumber.Text = linkman.HandsetNumber;
            lblEmail.Text = linkman.Email;
            lblQQNumber.Text = linkman.QqNumber;
            lblRemark.Text = linkman.Remark;
        }
    }
}
